﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Data;
using Solution.Business.Entities;

namespace Solution.Business.Component
{
    public class LocationComponent
    {
        private static LocationDAC db = new LocationDAC();

        public static List<Location> Location_GetByTop(string Top, string Where, string Ord)
        {
            return db.Location_GetByTop(Top, Where, Ord);
        }

        public static void Location_Insert(Location location)
        {
            db.Location_Insert(location);
        }

        public static void Location_Update(Location location)
        {
            db.Location_Update(location);
        }
    }
}
